package com.mytrans;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

//@EnableAspectJAutoProxy//开启切面
//@ServletComponentScan({"com.mytrans.filter","com.mytrans.listener","com.mytrans.servlet"})
@ComponentScan(basePackages = {"com.mytrans"})
//@MapperScan(basePackages = {"com.mytrans.mapper"})
//@EnableEurekaClient
//@EnableFeignClients(basePackages = "com.mytrans")
@SpringBootApplication
public class Application {

    public static void main(String args[]){
        ApplicationContext act = SpringApplication.run(Application.class, args);
    }
}
